package applications.camoverlay;

import android.content.Context;
import android.util.AttributeSet;
import android.view.SurfaceHolder;
import android.view.SurfaceView;


public class CamView extends SurfaceView{

	private SurfaceHolder holder;

	public CamView(Context context, AttributeSet attrs) {
		super(context, attrs);

        holder=getHolder();
		holder.addCallback(new SurfaceCallback());
		holder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);

        setFocusable(true);
	}

}